.el-switch.hy_switch {
  height: 32px;

  .el-switch__core {
    height: 32px;
    border-radius: 32px;

    &:after {
      width: 26px;
      height: 26px;
      /*margin-left: -28px;*/
      top: 2px;
      left: 2px;
    }
  }

  &.is-checked {

    .el-switch__core {

      &:after {
        margin-left: -28px;
        left: 100%;
      }
    }
  }
}

.el-switch.switch_inner_font {
  height: 50px;
  width: 200px;
  position: relative;

  >.el-switch__label {
    color: #535763;
    position: absolute;
    z-index: 99;

    >span {
      font-size: 20px;
    }

    &.is-active {
      color: #FFFFFF;
    }

    &.el-switch__label--left {

      >span {
        display: inline-block;
        width: 100px;
        text-align: center;
      }
    }

    &.el-switch__label--right {
      right: 2px;

      >span {
        display: inline-block;
        width: 100px;
        text-align: center;
      }
    }
  }

  >.el-switch__core {
    height: 50px;
    border-radius: 25px;
    background-color: #FFFFFF !important;
    border-color: #CFD1D8 !important;


    &:after {
      width: 100px;
      height: 44px;
      border-radius: 22px;
      background-color: #2C50EE;
    }
  }

  &.is-checked {

    .el-switch__core {

      &:after {
        margin-left: -102px;
        left: 100%;
      }
    }
  }
}
